package mq.cinrad.display;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

@MapperScan("mq.cinrad.display.mapper*")
@SpringBootApplication
public class CinradDisplayApplication extends SpringBootServletInitializer{

	@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) {
        return applicationBuilder.sources(CinradDisplayApplication.class);
    }
	
	public static void main(String[] args) {
		SpringApplication.run(CinradDisplayApplication.class, args);
	}
}
